#include<stdio.h>
#include<math.h>
int main()
{
	int i, j, k, m = 0;
	for (i = 8; i >= -8; i--) {
		for (j = 0; j <= abs(i); j++) {
			printf("+");
		}
		for (k = 0; k < 17 - 2 * abs(i); k++) {
			printf("%c", 'A' + m % 26);
			m++;
		}
		for (j = 0; j <= abs(i); j++) {
			printf("+");
		}
		printf("\n");
	}
}